﻿namespace Klear.Library.Helpers;

public class AccessKeyStorage
{
    // LLM
    public static readonly string API_KEY="sk-2f79bca9b5cb42baaeb9b71d141b5672";
    public static readonly string MODEL_URL= "https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation";
    // 每日简讯
    private static readonly string _domain="apis.tianapi.com/lunar/index";
    private static readonly string _apikey="8425e7a33f6c5726b0bb1e19d5176be2";
    public static readonly string URL=$"http://{_domain}";
    public static readonly string REQBODY = $"key={_apikey}";
    // OCR
    // AccessKey ID
    public static readonly string OCR_ID = "LTAI5tQ14YhTy34PEmayq1R6";
    // AccessKey Secret
    public static readonly string OCR_SECRET = "rd3lrSpmLSX2s7fwIDVIJLyHFsRfNl";
    public static readonly string OCR_ENDPOINT = "ocr-api.cn-hangzhou.aliyuncs.com";

    //NEWS
    public static readonly string NEWS_URL = "https://apis.tianapi.com/bulletin/index";
    public static readonly string NEWS_BODY = "key=8425e7a33f6c5726b0bb1e19d5176be2";
    
    // Weather 
    public static readonly string WEATHER_URL = "https://apis.tianapi.com/tianqi/index";
    public static readonly string WEATHER_BODY="key=8425e7a33f6c5726b0bb1e19d5176be2&city=101070101&type=1";

}